package com.cust.yx.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * 活动类型
 * @author lei
 */
@Getter
public enum ActivityType {
    FULL_REDUCTION(1, "满减"),
    FULL_DISCOUNT(2, "满量打折");

    @EnumValue
    private Integer code;
    private String comment;

    ActivityType(Integer code, String comment) {
        this.code = code;
        this.comment = comment;
    }
}